package com.zb777.shuzhilingxi.Pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@TableName("token_usage")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TokenUsage {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private Integer spent;
    private LocalDateTime createdAt;
} 